# https://tv.cctv.com/9b6812b6-78a0-45c9-af18-eb9cf9eae80b"
import requests
# 替换为你的视频URL
video_url = 'https://tv.cctv.com/9b6812b6-78a0-45c9-af18-eb9cf9eae80b'
# 下载视频到本地

with requests.get(video_url, stream=True) as r:
    with open('video.mp4', 'wb') as f:
        for chunk in r.iter_content(chunk_size=8192):
            if chunk:  # filter out keep-alive new chunks
                f.write(chunk)
                f.flush()